@import './transition.scss';
@import './element-ui.scss';

body {
  height: 100%;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  min-width: 768px;
  min-height: 600px;
  box-sizing: border-box;
}

ul,
li,
dl,
dt,
dd {
  list-style: none;
}

ul,
li,
dl,
dt,
dd,
p {
  padding: 0;
  margin: 0;
}

#app {
  height: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

div:focus {
  outline: none;
}

.clearfix {
  &::after {
    display: block;
    height: 0;
    clear: both;
    font-size: 0;
    content: " ";
    visibility: hidden;
  }
}

// main-container global css
.app-page {
  height: calc(100% - 12px);
  padding: 10px 10px 0 10px;
  margin: 6px 8px;
  background: #fff;
}

//公共菜单样式
.el-menu--vertical {
  & > .el-menu {
    .svg-icon {
      margin-right: 16px;
    }
  }
}
.el-menu--horizontal .el-menu--popup {
  .el-menu-item {
    padding: 0;
    & > a {
      display: inline-block;
      width: 100%;
      height: 100%;
      padding: 0 10px;
    }
  }
}

.merge-item .el-form-item__content {
  display: flex;
}
.btn-group {
  display: flex;
  justify-content: space-between;
}
.el-input-group__append,
.el-input-group__prepend {
  //color: #fff;
  background: none;
}
// 表单项后置的按钮
.append-search {
  &.el-button.el-button--default:not(.is-plain):not(.el-button--primary) {
    color: #fff;
    background: $themeColor;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
  }
  &.el-button:focus.el-button--default:not(.is-plain):not(.el-button--primary),
  &.el-button:hover.el-button--default:not(.is-plain):not(.el-button--primary) {
    color: #fff;
    background-color: #34adb2;
    border-color: #34adb2;
  }
}
.red-text {
  color: $dangerColor;
}
// 表格表头单元格居中
.table-row-name {
  .el-table__cell {
    text-align: center;
  }
}
.el-table .cell .el-link.el-link--default:hover {
  color: #02428f;
}

// 表格列中的位置图标
.point-span {
  display: inline-block;
  width: 18px;
}
.dangerColor {
  color: $dangerColor;
}
